翻訳と辞書
Words near each other
・ fad
・ failback
・ failover
・ failure
・ failure-directed testing
・ fair
・ fairchild f8
・ fall back
・ fall forward
・ fall over
fall through
・ fall thru
・ false
・ fan-out
・ fandango on core
・ fap
・ faq
・ faq list
・ faql
・ faradise


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

fall through : FOLDOC
fall through
(The American misspelling "fall thru" is also common)
1. To exit a loop by exhaustion, i.e. by having fulfilled its exit condition rather than via a break or exception condition that exits from the middle of it. This usage appears to be *really* old, dating from the 1940s and 1950s.
2. To fail a test that would have passed control to a subroutine or some other distant portion of code.
3. In C, "fall-through" occurs when the flow of execution in a switch statement reaches a "case" label other than by jumping there from the switch header, passing a point where one would normally expect to find a "break". A trivial example:
switch (colour)
{
case GREEN:
do_green();
break;
case PINK:
do_pink();
/* FALL THROUGH */
case RED:
do_red();
break;
default:
do_blue();
break;
}

The effect of the above code is to "do_green()" when colour is "GREEN", "do_


スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.